package factory.absFactoryFunction;

public class Client {

    public static void main(String[] args) {
        LingingFactory lingingFactory = new LingingFactory();
        AntaFactory antaFactory = new AntaFactory();

        antaFactory.makeBasketball().sayBasketball();
        antaFactory.makeFootball().sayFootball();

        lingingFactory.makeBasketball().sayBasketball();
        lingingFactory.makeFootball().sayFootball();
    }
}
